import useRouteMeta from '@/hooks/useRouteMeta';

/**
 * 是否为重新发起
 */
export const useReissue = () => {
  /* 品牌方、平台方 协议模板重新发起， 品牌方门店补充协议、平台方补充协议重新发起  */
  const reissueIds = [9011, 9012, 5001, 13001];
  const { taskConfigId } = useRouteMeta();
  const isReissue = ref(reissueIds.includes(taskConfigId.value));
  return {
    isReissue
  };
};
